* {
    // margin: 0;
    // padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

a {
    cursor: pointer;
}

.layui-fluid {
    background-color: #fff;
    padding: 15px;
    margin: 10px;

    form.layui-form {
        display: flex;
        height: 47px;

        .layui-form-item {
            display: flex;

            .layui-input-block {
                height: 32px;
                min-height: 0;
                margin-left: 10px;

                .layui-input {
                    height: 100%;

                    &:focus {
                        border-color: #1E9FFF !important;
                    }
                }
            }

            .layui-form-label {
                height: 32px;
                padding: 0;
                text-align: left;
                font-weight: 800;
                font-size: 14px;
                line-height: 32px;
                color: #666;
            }
        }

        .layui-btn {
            width: 75px;
            height: 32px;
            margin-left: 10px;
            line-height: 32px;

            &.layui-btn-primary:hover {
                border-color: #1E9FFF;
                color: #1E9FFF;
                background-color: #1E9FFF1d;
            }
        }
    }

    .layui-table-view {
        border: none;
        margin: 0;

        .layui-table-tool {
            padding: 0;
            background-color: #fff;
        }

        .layui-table-tool-temp {
            padding: 0;

            .toolBox {
                display: flex;
                justify-content: space-between;
                padding: 0;


                .left {
                    .layui-btn {
                        width: 75px;
                        height: 32px;

                    }

                    .layui-btn-primary {
                        &#addItem {
                            background-color: #1e9eff1d;
                            color: #1E9FFF;
                            border-color: #1E9FFF;

                            &:hover {
                                background-color: #1E9FFF;
                                color: #fff;
                            }
                        }

                        &#download {
                            background-color: #FFB8001d;
                            color: #FFB800;
                            border-color: #FFB800;

                            &:hover {
                                background-color: #FFB800;
                                color: #fff;
                            }

                            .layui-table-tool-panel {
                                top: 10px;
                                left: 190px;

                                li {
                                    color: #FFB800
                                }
                            }
                        }
                    }

                }

                .right {
                    .layui-btn {
                        width: 32px;
                        height: 32px;
                        border-radius: 50%;
                        position: relative;

                        .layui-table-tool-panel {
                            opacity: 1;
                            top: 50px;
                            left: -120px;
                            min-width: 150px;

                            .layui-form-checked {
                                i {
                                    background-color: #1E9FFF;
                                    border-color: #1E9FFF !important;

                                    &:hover {
                                        border-color: #1E9FFF !important;
                                    }
                                }
                            }

                        }

                        &:hover {
                            color: #1E9FFF;
                            border-color: #1E9FFF;

                            &::before {
                                display: block;
                            }
                        }

                        &::before {
                            content: '';
                            display: none;
                            background-color: #000000c7;
                            border: 1px solid;
                            width: 5em;
                            height: 2em;
                            line-height: 2em;
                            border-radius: 2px;
                            position: absolute;
                            left: 50%;
                            top: -30px;
                            transform: translateX(-50%);
                            color: #fff;
                        }

                        &:nth-child(1)::before {
                            content: '表单显隐';
                        }

                        &:nth-child(2)::before {
                            content: '表格刷新';
                        }

                        &:nth-child(3)::before {
                            content: '筛选';
                        }
                    }

                    &.active {
                        color: #1E9FFF;
                        border-color: #1E9FFF;
                    }
                }

                .layui-btn {
                    color: #666
                }
            }
        }

        .layui-table {
            margin: 0;

            tbody {
                tr {
                    height: 57px;

                    td {
                        height: 100%;

                        &:last-child {
                            .layui-table-cell {
                                display: flex;
                                height: 100%;
                                justify-content: center;
                            }
                        }

                        .layui-btn {
                            width: 32px;
                            height: 32px;
                            margin: 0 10px;
                            border: none;
                            border-radius: 50%;
                            color: #fff;
                            font-size: 16px;
                            text-align: center;
                        }
                    }
                }
            }
        }


    }


}

.layui-layer-page {
    .layui-layer-title {
        font-size: 18px;
        font-weight: 500;
    }

    .layui-layer-content {
        margin: 50px 80px;
        font-size: 14px;
        color: #666;

        .layui-form {
            width: 100%;

            .layui-form-item {
                display: flex;
                width: 100%;

                .layui-input-block,
                .layui-unselect {
                    flex: 1;
                    margin: 0;
                    position: relative;

                    .layui-btn{
                        position: absolute;
                        top: 5px;
                    }

                    .showPic {
                        display: none;
                        align-items: center;
                        width: 563px;
                        padding: 10px;
                        border: 1px solid #ddd;
                        position: absolute;
                        top: 0;
                        left: 0;
                        border-radius: 5px;

                        label {
                            width: 30px;
                            height: 30px;
                            position: absolute;
                            right: 0;
                            top: 0;
                            // background-color: #1E9FFF;
                            color: #fff;
                            // border: ;
                            border-left: 15px solid #fff;
                            border-right: 15px solid #1E9FFf;
                            border-bottom: 15px solid #fff;
                            border-top: 15px solid #1E9FFf;
                            border-radius: 0 5px;

                            i{
                                position: absolute;
                                right: -13px;
                                top: -13px;
                            }
                        }

                        &:hover{
                            label{
                                display: none;
                            }

                            &>i{
                                display: block;
                            }
                        }

                        &>i {
                            display: none;
                            position: absolute;
                            top: 3px;
                            right: 3px;
                        }

                        img {
                            width: 100px;
                            height: 100px;
                            margin-right: 20px;
                        }

                        p {
                            cursor: pointer;
                        }
                    }

                    dl {
                        position: unset;

                    }
                }

                .layui-form-label {
                    width: 110px;
                    font-weight: 700;


                    i {
                        color: #FF5722;
                    }
                }

                .layui-input {
                    height: 36px;
                }
            }
        }
    }
}